<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"
>
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
错误信息：<h4 th:text="${session.msg}"/>
<form th:action="@{/login}" method="post">
    <p>账号<input type="text" name="username" value=""/></p>
    <p>密码<input type="password" name="password" value=""/></p>
    <p><input type="submit" value="登录"/></p>
</form>
</body>
</html>